Optimal. Leaf size=65 \[ \frac{e (a+b x)^6 (b d-a e)}{3 b^3}+\frac{(a+b x)^5 (b d-a e)^2}{5 b^3}+\frac{e^2 (a+b x)^7}{7 b^3} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.201527, antiderivative size = 65, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 26, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.077 \[ \frac{e (a+b x)^6 (b d-a e)}{3 b^3}+\frac{(a+b x)^5 (b d-a e)^2}{5 b^3}+\frac{e^2 (a+b x)^7}{7 b^3} \]
Antiderivative was successfully verified.
[In] Int[(d + e*x)^2*(a^2 + 2*a*b*x + b^2*x^2)^2,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 36.1263, size = 54, normalized size = 0.83 \[ \frac{e^{2} \left (a + b x\right )^{7}}{7 b^{3}} - \frac{e \left (a + b x\right )^{6} \left (a e - b d\right )}{3 b^{3}} + \frac{\left (a + b x\right )^{5} \left (a e - b d\right )^{2}}{5 b^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((e*x+d)**2*(b**2*x**2+2*a*b*x+a**2)**2,x)
[Out]
_______________________________________________________________________________________
Mathematica [B] time = 0.0478778, size = 148, normalized size = 2.28 \[ a^4 d^2 x+a^3 d x^2 (a e+2 b d)+\frac{1}{5} b^2 x^5 \left (6 a^2 e^2+8 a b d e+b^2 d^2\right )+a b x^4 \left (a^2 e^2+3 a b d e+b^2 d^2\right )+\frac{1}{3} a^2 x^3 \left (a^2 e^2+8 a b d e+6 b^2 d^2\right )+\frac{1}{3} b^3 e x^6 (2 a e+b d)+\frac{1}{7} b^4 e^2 x^7 \]
Antiderivative was successfully verified.
[In] Integrate[(d + e*x)^2*(a^2 + 2*a*b*x + b^2*x^2)^2,x]
[Out]
_______________________________________________________________________________________
Maple [B] time = 0.001, size = 163, normalized size = 2.5 \[{\frac{{e}^{2}{b}^{4}{x}^{7}}{7}}+{\frac{ \left ( 4\,{e}^{2}a{b}^{3}+2\,de{b}^{4} \right ){x}^{6}}{6}}+{\frac{ \left ( 6\,{e}^{2}{a}^{2}{b}^{2}+8\,dea{b}^{3}+{b}^{4}{d}^{2} \right ){x}^{5}}{5}}+{\frac{ \left ( 4\,{e}^{2}{a}^{3}b+12\,de{a}^{2}{b}^{2}+4\,{d}^{2}a{b}^{3} \right ){x}^{4}}{4}}+{\frac{ \left ({e}^{2}{a}^{4}+8\,de{a}^{3}b+6\,{d}^{2}{a}^{2}{b}^{2} \right ){x}^{3}}{3}}+{\frac{ \left ( 2\,de{a}^{4}+4\,{d}^{2}{a}^{3}b \right ){x}^{2}}{2}}+{d}^{2}{a}^{4}x \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((e*x+d)^2*(b^2*x^2+2*a*b*x+a^2)^2,x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 0.685438, size = 211, normalized size = 3.25 \[ \frac{1}{7} \, b^{4} e^{2} x^{7} + a^{4} d^{2} x + \frac{1}{3} \,{\left (b^{4} d e + 2 \, a b^{3} e^{2}\right )} x^{6} + \frac{1}{5} \,{\left (b^{4} d^{2} + 8 \, a b^{3} d e + 6 \, a^{2} b^{2} e^{2}\right )} x^{5} +{\left (a b^{3} d^{2} + 3 \, a^{2} b^{2} d e + a^{3} b e^{2}\right )} x^{4} + \frac{1}{3} \,{\left (6 \, a^{2} b^{2} d^{2} + 8 \, a^{3} b d e + a^{4} e^{2}\right )} x^{3} +{\left (2 \, a^{3} b d^{2} + a^{4} d e\right )} x^{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b^2*x^2 + 2*a*b*x + a^2)^2*(e*x + d)^2,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.201041, size = 1, normalized size = 0.02 \[ \frac{1}{7} x^{7} e^{2} b^{4} + \frac{1}{3} x^{6} e d b^{4} + \frac{2}{3} x^{6} e^{2} b^{3} a + \frac{1}{5} x^{5} d^{2} b^{4} + \frac{8}{5} x^{5} e d b^{3} a + \frac{6}{5} x^{5} e^{2} b^{2} a^{2} + x^{4} d^{2} b^{3} a + 3 x^{4} e d b^{2} a^{2} + x^{4} e^{2} b a^{3} + 2 x^{3} d^{2} b^{2} a^{2} + \frac{8}{3} x^{3} e d b a^{3} + \frac{1}{3} x^{3} e^{2} a^{4} + 2 x^{2} d^{2} b a^{3} + x^{2} e d a^{4} + x d^{2} a^{4} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b^2*x^2 + 2*a*b*x + a^2)^2*(e*x + d)^2,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 0.189487, size = 168, normalized size = 2.58 \[ a^{4} d^{2} x + \frac{b^{4} e^{2} x^{7}}{7} + x^{6} \left (\frac{2 a b^{3} e^{2}}{3} + \frac{b^{4} d e}{3}\right ) + x^{5} \left (\frac{6 a^{2} b^{2} e^{2}}{5} + \frac{8 a b^{3} d e}{5} + \frac{b^{4} d^{2}}{5}\right ) + x^{4} \left (a^{3} b e^{2} + 3 a^{2} b^{2} d e + a b^{3} d^{2}\right ) + x^{3} \left (\frac{a^{4} e^{2}}{3} + \frac{8 a^{3} b d e}{3} + 2 a^{2} b^{2} d^{2}\right ) + x^{2} \left (a^{4} d e + 2 a^{3} b d^{2}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((e*x+d)**2*(b**2*x**2+2*a*b*x+a**2)**2,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.210084, size = 230, normalized size = 3.54 \[ \frac{1}{7} \, b^{4} x^{7} e^{2} + \frac{1}{3} \, b^{4} d x^{6} e + \frac{1}{5} \, b^{4} d^{2} x^{5} + \frac{2}{3} \, a b^{3} x^{6} e^{2} + \frac{8}{5} \, a b^{3} d x^{5} e + a b^{3} d^{2} x^{4} + \frac{6}{5} \, a^{2} b^{2} x^{5} e^{2} + 3 \, a^{2} b^{2} d x^{4} e + 2 \, a^{2} b^{2} d^{2} x^{3} + a^{3} b x^{4} e^{2} + \frac{8}{3} \, a^{3} b d x^{3} e + 2 \, a^{3} b d^{2} x^{2} + \frac{1}{3} \, a^{4} x^{3} e^{2} + a^{4} d x^{2} e + a^{4} d^{2} x \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b^2*x^2 + 2*a*b*x + a^2)^2*(e*x + d)^2,x, algorithm="giac")
[Out]